#include <UnitTest++.h>
#include <Utility/Global.hpp>
using namespace zzz;

SUITE(GlobalTest)
{
  TEST(AssignAndRetrieve)
  {
    ZGLOBAL_DEFINE(int, global_x, 10);
    *(Global::Instance().Get<int*>("global_x"))=100;
    CHECK_EQUAL(100,global_x);

  }
}